package com.bytech.common.biz.entity.system.route;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 动态路由配置对象
 *
 * @Author Zhao
 * @Create 2021/8/13 22:49
 */
@Data
public class MyRouteDefinition {

    private String id;
    private int order;
    private Map<String, Object> metadata = new HashMap<>();
    private String uri;

    private List<MyFilterDefinition> filters = Lists.newArrayList();
    private List<MyPredicateDefinition> predicates = Lists.newArrayList();
}
